Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Fri, 24 Apr 2026 01:36:40 +0000 (13:36 +1200)
committerVladimir Petko <vladimir.petko@canonical.com>
Fri, 24 Apr 2026 01:36:40 +0000 (13:36 +1200)
commit74ebbcdbca2de58fead58bc05837330b880401e0
treef3c0f2abe292e3ba1780c5f916d100760800bf16
parent2795d99a2a5719a1e9336bdd93a0718e538114a7
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp